﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation.Configuration;
using AsNum.Common.EntLib.Validation.CustomValidator.Configuration;

namespace AsNum.Common.EntLib.Validation.Adapters {
    public class NotNullOrEmptyClientAdapter : BaseClientAdapter<NotNullOrEmptyValidatorData> {
        public NotNullOrEmptyClientAdapter(NotNullOrEmptyValidatorData data , Dictionary<string , Tuple<string , string>> map , bool isSub = false)
            : base ( data , map , isSub ) {
        }


        public override RuleTypes RuleType {
            get {
                return RuleTypes.NotNull;
            }
        }
    }
}
